const AddOpenAuthority = resolve =>
    require([
        'common/src/views/administrator/studentRegister/AddOpenAuthority'
    ], resolve);
const AddAuthority = resolve =>
    require(['common/src/views/administrator/studentRegister/addAuthority'], resolve);
const CheckRegister = resolve =>
    require(['common/src/views/administrator/studentRegister/checkRegister'], resolve);
const OpenRegister = resolve =>
    require(['common/src/views/administrator/studentRegister/openRegister'], resolve);
const RegisterRoleManage = resolve =>
    require(['common/src/views/administrator/studentInfo/RegisterRoleManage'], resolve);
const RegisterManage = resolve =>
    require(['common/src/views/administrator/studentInfo/RegisterManage'], resolve);
const registStatistics = resolve =>
    require(['common/src/views/administrator/studentInfo/registStatistics'], resolve);
const layout = resolve => require(['common/src/views/layout/base'], resolve);

const StudentRegisterMgr = {
    path: '/studentRegisterMgr',
    name: 'studentRegisterMgr',
    component: layout,
    children: [
        {
            path: '/addOpenAuthority',
            name: 'addOpenAuthority',
            component: AddOpenAuthority
        },

        {
            path: '/addAuthority',
            name: 'addAuthority',
            component: AddAuthority
        },
        {
            path: '/checkRegister',
            name: 'checkRegister',
            component: CheckRegister
        },
        {
            path: '/openRegister',
            name: 'openRegister',
            component: OpenRegister
        },
        {
            path: '/registerRoleManage',
            name: 'RegisterRoleManage',
            component: RegisterRoleManage
        },
        {
            path: '/registerManage',
            name: 'RegisterManage',
            component: RegisterManage
        },
        {
            path: '/registStatistics',
            name: 'registStatistics',
            component: registStatistics
        }
    ]
};

export default StudentRegisterMgr;
